from nonebot import on_request,RequestSession
import requests

@on_request('friend')
async def _(session:RequestSession):
    url = '127.0.0.1:9555/send_private_msg?user_id=2392320844&message=通知:'+session.event.user_id+'发来了好友请求'
    if session.event.comment == 'tic':

        await session.approve()
        return

